﻿using System;
namespace CaiBaby.Entity
{
	/// <summary>
	/// 第三方帐号表
	/// </summary>
	[Serializable]
	public partial class OauthInfo
	{
		private int _oid;
		private int _uid=0;
		private int _thetype=0;
		private string _thekey="";
		private DateTime _createtime= DateTime.Now;
		private DateTime _lastlogtime= Convert.ToDateTime("1990-1-1");
		private string _lastlogip="";
		/// <summary>
		/// 身份验证自增ID
		/// </summary>
		public int OId
		{
			set{ _oid=value;}
			get{return _oid;}
		}
		/// <summary>
		/// 用户ID
		/// </summary>
		public int UId
		{
			set{ _uid=value;}
			get{return _uid;}
		}
		/// <summary>
		/// 用户登录的平台 0为未知
		/// </summary>
		public int Thetype
		{
			set{ _thetype=value;}
			get{return _thetype;}
		}
		/// <summary>
		/// 第三方登录上的主键
		/// </summary>
		public string Thekey
		{
			set{ _thekey=value;}
			get{return _thekey;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 最后登录时间
		/// </summary>
		public DateTime LastLogTime
		{
			set{ _lastlogtime=value;}
			get{return _lastlogtime;}
		}
		/// <summary>
		/// 最后登录IP
		/// </summary>
		public string LastLogIp
		{
			set{ _lastlogip=value;}
			get{return _lastlogip;}
		}
	}
}

